package com.luckyframe.project.jmeter.report.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Line implements Serializable {

    private String label="unkown";

    private List<Double[]> points=new ArrayList<>();

    public Line() {
    }

    public Line(String label) {
        this.label = label;
    }



    public void addPoint(Double[] data){
        points.add(data);
    }

    public void addPoints(List<Double[]> datas){
        points.addAll(datas);
    }

    public List<Double[]> getPoints() {
        return points;
    }

    public void setPoints(List<Double[]> points) {
        this.points = points;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;


    }




}
